package com.naiterui.ehp.bp.bo.consult;

/**
 * 会话结束信息同步BO
 * @Description
 * @author dongqing
 * @version 3.3
 * @date 2018年9月13日
 */
public class SessionCloseBO {

    private Long doctorId;
    private Long patientId;
    private String sessionId;
    /**
     * 会话咨询类型
     */
    private Integer consultSourceType;
    /**
     * 是否有效
     */
    private Boolean beValid;
    /**
     * 是否自动结束
     */
    private Boolean autoEnd;

    public SessionCloseBO(Long doctorId, Long patientId, String sessionId, Integer consultSourceType, Boolean beValid, Boolean autoEnd) {
        super();
        this.doctorId = doctorId;
        this.patientId = patientId;
        this.sessionId = sessionId;
        this.consultSourceType = consultSourceType;
        this.beValid = beValid;
        this.autoEnd = autoEnd;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Integer getConsultSourceType() {
        return consultSourceType;
    }

    public void setConsultSourceType(Integer consultSourceType) {
        this.consultSourceType = consultSourceType;
    }

    public Boolean getBeValid() {
        return beValid;
    }

    public void setBeValid(Boolean beValid) {
        this.beValid = beValid;
    }

    public Boolean getAutoEnd() {
        return autoEnd;
    }

    public void setAutoEnd(Boolean autoEnd) {
        this.autoEnd = autoEnd;
    }

    @Override
    public String toString() {
        return "SessionCloseBO [doctorId=" + doctorId + ", patientId=" + patientId + ", sessionId=" + sessionId + ", consultSourceType="
                + consultSourceType + ", beValid=" + beValid + ", autoEnd=" + autoEnd + "]";
    }

}
